#ifndef AMINAL_H
#define AMINAL_H

#include <string>

class Animal
{
public:
    Animal(std::string name,int age,std::string voice):m_name(name),m_age(age),m_voice(voice){}
    virtual std::string getName() = 0;
    virtual int getAge() = 0;
    virtual std::string getVoice() = 0;
    virtual std::string getClass() = 0;
    virtual ~Animal() = default;
protected:
    std::string m_name;
    int m_age;
    std::string m_voice;
};

#endif // AMINAL_H
